.error {
  width: 100%;
  height: 100%;
  background: pink;
  position: relative;

  img {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}